package com.lmt_14;

import java.io.FileInputStream;
import java.io.ObjectInputStream;

public class ObjectInputstreamTest {
    public static void main(String[] args) {
        try (
                ObjectInputStream ois= new ObjectInputStream(new FileInputStream("src/com/lmt_14/1.txt"));
                ){
            System.out.println(ois.readObject());
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
